home *** CD-ROM | disk | FTP | other *** search
- On 23-Jun-97, Keith Hill wrote:
- >Yeah, good point. Now, if I'm stripping out every unnecessary bit of code
- >to help the slower machines, how can I get it running sensibly on faster
- >machines without slowing it down too much ??
-
- Now I know how to explain it:
-
- A couple of my friends from school run a PC-network where they're usually
- playing a game like Quake. Now, one of them has a P-75 and run the game with
- about 15fps. Another has a P-200MMX and can easily run 30fps. However the game
- itself runs with the same speed on both computers, otherwise it would be
- pretty fu**ed up, if the P-75 guy would play in the other players' past (like
- time-travelling and stuff...) since his computer would always be behind. Get
- the point?
-
- To solve the problem you could check the speed of the machine in the beginning
- of the game and according to this value change the speed of the monsters.
- On the other hand; this would still not make the game run the same speed on
- all computers. I guess the best would be if you could make the main game loop
- (where is the monsters, the hero?) run exactly 50fps on any computer and then
- make the slow operations (drawing onto the screen, I presume) run in less than
- this according to the speed of the computer. Get it?
-
- Has anybody else solved this problem in a better way?
-
- --
- rune j. keller - sporuplundsvej 105 - dk-8472 sporup - keller@vip.cybercity.dk
- - there's the television... look, listen, kneel, pray... commercials!
-
-
-